<template>
  <layout-header />
  <router-view />
  <!-- <scroll-top /> -->
  <layout-footer />
</template>

<script lang="ts" setup>
  // import ScrollTop from './components/ScrollTop.vue';
  import LayoutHeader from './components/LayoutHeader.vue';
  import LayoutFooter from './components/LayoutFooter.vue';
  // import enUS from '@arco-design/web-vue/es/locale/lang/en-us';
  // import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn';
  // import GlobalSetting from '@/components/global-setting/index.vue';
  // import useLocale from '@/hooks/locale';

  // const { currentLocale } = useLocale();
  // const locale = computed(() => {
  //   switch (currentLocale.value) {
  //     case 'zh-CN':
  //       return zhCN;
  //     case 'en-US':
  //       return enUS;
  //     default:
  //       return enUS;
  //   }
  // });
</script>

<style lang="less">
  @import '@/assets/css/app.less';
</style>
